##
## Copyright (C) by Argonne National Laboratory
##     See COPYRIGHT in top-level directory
##

ACLOCAL_AMFLAGS = -I confdb
AM_CPPFLAGS = -I$(top_srcdir)/include

if EMBEDDED_MODE
noinst_LTLIBRARIES = libpmi.la

else
include_HEADERS = \
    include/pmi.h \
    include/pmi2.h

lib_LTLIBRARIES = libpmi.la
endif

SUBDIRS = @mpl_srcdir@
AM_CPPFLAGS += @mpl_includedir@

libpmi_la_LIBADD = @mpl_lib@

libpmi_la_SOURCES = \
    src/pmi_v1.c \
    src/pmi_v2.c \
    src/pmi_wire.c \
    src/pmi_msg.c \
    src/pmi_common.c \
    src/pmi_util.c
